package com.loghead.utils
{
	public class LogUtils
	{
		public function LogUtils()
		{
		}
		
		public static function buildFontString( str:String, color:String = "#000000", fontSize:int = -1, fontName:String = ""  ):String
		{
			//bounds check
			if( fontSize == -1 )
				fontSize = 12;
			
			if( !fontName || fontName == "" )
				fontName = "Arial";			
				
			return '<FONT FACE="' + fontName + '" SIZE="' + fontSize + '" COLOR="' + color + '" LETTERSPACING="0" KERNING="0">' + str + '</FONT>';
		}
	}
}